<?php

/**
 * Header form class.
 *
 * @author Eugene I. Nehzuta
 */
class RCMS_Form_TranslateForm extends Zend_Form {

    public function init()
    {
        $this->setMethod('post');
        $this->setName('translateForm');

        $this->addElement('textarea', 'lexemtext', array(
                'id'    =>  'lexemtext',
				'cols' => '45',
				'rows' => '2'
        ));

	   $this->addElement('select', 'languages', array (
                'id'    =>  'languages',
				'style' => 'width:140px;'
            )
        );


        $this->addElement('submit', 'submit', array(
                'id'        =>  'submit',
                'class'     =>  'formsubmit',
                'ignore'    =>  'true',
                'label'     =>  'Translate'
                )
        );

        $this->setElementDecorators(array('ViewHelper',	'Errors'));
    }
}
